package jbl.model;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.FetchType;
import javax.persistence.Id;
import javax.persistence.JoinColumn;
import javax.persistence.ManyToOne;
import javax.persistence.Table;

/**
 * Tkf entity. @author MyEclipse Persistence Tools
 */
@Entity
@Table(name = "code_zt", catalog = "jbldangl")
public class Code_zt implements java.io.Serializable {

	private String id;
	private String zt;
	private String flag;
	private String flag1;
	private Code_zt zts;
	private String iconCls;



	@Id
	@Column(name = "id", unique = true, nullable = false, length = 50)
	public String getId() {
		return this.id;
	}

	public void setId(String id) {
		this.id = id;
	}

	@Column(name = "zt", length = 50)
	public String getZt() {
		return zt;
	}

	public void setZt(String zt) {
		this.zt = zt;
	}

	@Column(name = "flag", length = 5)
	public String getFlag() {
		return flag;
	}

	public void setFlag(String flag) {
		this.flag = flag;
	}
	@Column(name = "flag1", length = 5)
	public String getFlag1() {
		return flag1;
	}

	public void setFlag1(String flag1) {
		this.flag1 = flag1;
	}

	@ManyToOne(fetch = FetchType.LAZY)
	@JoinColumn(name = "ztId")
	public Code_zt getZts() {
		return zts;
	}

	public void setZts(Code_zt zts) {
		this.zts = zts;
	}

	@Column(name = "iconCls", length = 50)
	public String getIconCls() {
		return iconCls;
	}

	public void setIconCls(String iconCls) {
		this.iconCls = iconCls;
	}

	
}